// vite.config.ts
import { defineConfig } from "file:///C:/Users/xxy/Desktop/xianyu/vue3-schub/node_modules/.pnpm/vite@5.0.0_@types+node@20.9.1/node_modules/vite/dist/node/index.js";
import vue from "file:///C:/Users/xxy/Desktop/xianyu/vue3-schub/node_modules/.pnpm/@vitejs+plugin-vue@4.5.0_vite@5.0.0_vue@3.3.8/node_modules/@vitejs/plugin-vue/dist/index.mjs";
import { resolve } from "path";
import { VitePWA } from "file:///C:/Users/xxy/Desktop/xianyu/vue3-schub/node_modules/.pnpm/vite-plugin-pwa@0.16.7_vite@5.0.0_workbox-build@7.0.0_workbox-window@7.0.0/node_modules/vite-plugin-pwa/dist/index.js";
var __vite_injected_original_dirname = "C:\\Users\\xxy\\Desktop\\xianyu\\vue3-schub";
var vite_config_default = defineConfig({
  plugins: [
    vue(),
    VitePWA({
      manifest: {
        // 安装应用后显示的应用名
        name: "\u751F\u5B58\u6218\u4E89\u4E2D\u6587\u793E\u533A",
        short_name: "\u751F\u5B58\u6218\u4E89\u4E2D\u6587\u793E\u533A",
        description: "\u751F\u5B58\u6218\u4E89\u4E2D\u6587\u793E\u533A",
        // 至少配置一个图标
        icons: [
          {
            // 注意如果应用不是部署在站点根目录则需要相对路径，图片文件放在项目/public/pwa/192x192.png
            src: "./pwa/icon.svg",
            sizes: "192x192",
            type: "image/svg+xml"
          }
        ],
        background_color: "#ffffff",
        theme_color: "#42b883"
      },
      registerType: "autoUpdate",
      workbox: {
        // 对所有匹配的静态资源进行缓存
        globPatterns: ["**/*.{js,css,html,ico,png,jpeg,jpg,svg}"]
      }
    })
  ],
  resolve: {
    alias: {
      "@": resolve(__vite_injected_original_dirname, "src"),
      "@comps": resolve(__vite_injected_original_dirname, "src", "components")
    }
  }
});
export {
  vite_config_default as default
};
//# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFsidml0ZS5jb25maWcudHMiXSwKICAic291cmNlc0NvbnRlbnQiOiBbImNvbnN0IF9fdml0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